home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
BSCRIPTS.CST
/
00036_Script_qtvr-Planes
< prev
next >
Wrap
Text File
|
1999-04-25
|
2KB
|
86 lines
-- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
-- Developed for Bombardier, Inc.
--
-- All programming developed by:
-- Robert Fabricant, Valerie Valoueva, Ossi Shaked,
-- Henry Sauvageot, Chris Howell & Chris Girand
--
-- Use of this code by parties other than @radical.media, inc. or their
--agents
-- without the express written consent of @radical.media, inc. AND Concurrent
-- New Media Group, L.L.C. is strictly prohibited.
------------------------------------------------------
-------*This script is not used in this version of the movie*----------
property mySprite, neutral, roller, hilite, sameSelect
on new me
set mySprite = the spriteNum of me
set neutral = the castNum of sprite mySprite
set roller = neutral + 1
set hilite = roller + 1
set sameSelect = hilite + 1
set the ink of sprite mySprite to 0
return me
end
on mouseEnter me
global gPlane,gPImage
set the castnum of sprite mySprite to roller
updatestage
end
on mouseleave me
global gPlane,gPImage
set the castnum of sprite mySprite to neutral
set lastMenuItemSprNum = getSpriteNumFromMemberName ("anchor")+1
set maxLocV = the bottom of sprite lastMenuItemSprNum
if gPlane <> mySprite and ¼
(the mouseh<=598 or the mouseh >= 762 or the mousev <=84 ¼
or the mousev >= maxLocV) then
set the castnum of sprite gPlane to gPImage+2
set the ink of sprite gPlane to 0
end if
updateStage
end
on mouseup me
global gPlane,gPImage
--back to QTVR button
set the visible of sprite 22 to false
puppetSprite 22, false
updatestage
set gPlane = mySprite
set gPImage = neutral
set the castnum of sprite mySprite to hilite
sound stop(1)
sound stop(2)
set startSprNum = getSpriteNumFromMemberName ("anchor")+1
set range = getNumOfSprInCluster("anchor")-1
set mySprNum = the spritenum of me
repeat with spriteNum = startSprNum to startSprNum+range
if spriteNum = mySprNum then
set soundNum = range-(spriteNum-startSprNum)+1
puppetSound 3,"tunfork"&soundNum
pass
exit
end if
end repeat
end